package com.ruoyi.bole.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动报名对象 bole_event_registration
 * 
 * @author WuJiale
 * @date 2025-03-23
 */
public class BoleEventRegistration extends BaseEntity
{

    //学号
    @Excel(name = "学号")
    private String studentNumber;



    private static final long serialVersionUID = 1L;

    @Excel(name = "活动名称")
    private String title;
    /** 报名ID */
    private Long regId;

    /** 活动ID */
//    @Excel(name = "活动ID")
    private Long contentId;

    /** 用户ID */
//    @Excel(name = "用户ID")
    private Long userId;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    /** 性别（0未知 1男 2女） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知，男=男，女=女")
    private String gender;

    /** 年级（示例值：2023级）    @Excel(name = "年级", readConverterExp = "示=例值：2023级") */
    @Excel(name = "年级")
    private String grade;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contact;

    /** 报名时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date regTime;
    public String getStudentNumber() {
        return studentNumber;
    }

    public void setStudentNumber(String studentNumber) {
        this.studentNumber = studentNumber;
    }
    /** 状态（0待审核 1已通过 2已拒绝） */
//    @Excel(name = "状态", readConverterExp = "0=待审核,1=已通过,2=已拒绝")
    private String regStatus;

    /** 删除标志 */
    private String delFlag;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

//    活动名称


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setRegId(Long regId)
    {
        this.regId = regId;
    }

    public Long getRegId() 
    {
        return regId;
    }
    public void setContentId(Long contentId) 
    {
        this.contentId = contentId;
    }

    public Long getContentId() 
    {
        return contentId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }
    public void setRegTime(Date regTime) 
    {
        this.regTime = regTime;
    }

    public Date getRegTime() 
    {
        return regTime;
    }
    public void setRegStatus(String regStatus) 
    {
        this.regStatus = regStatus;
    }

    public String getRegStatus() 
    {
        return regStatus;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("regId", getRegId())
            .append("contentId", getContentId())
            .append("userId", getUserId())
            .append("realName", getRealName())
            .append("gender", getGender())
            .append("grade", getGrade())
            .append("major", getMajor())
            .append("contact", getContact())
            .append("regTime", getRegTime())
            .append("regStatus", getRegStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("email", getEmail())
                .append("title", getTitle())
            .toString();
    }
}
